home *** CD-ROM | disk | FTP | other *** search
AMOS Source Code | 1996-01-26 | 1.1 KB | 29 lines |
- ' ********************************************************
- ' *** ***
- ' *** Outline Text Procedure ***
- ' *** ***
- ' *** by ***
- ' *** ***
- ' *** Joseph Bolin ***
- ' *** ***
- ' ********************************************************
-
- Screen Open 0,320,200,4,Lowres
- Palette $0,$FE0,$800
- Curs Off : Cls 2
- _PRINTOUTLINE[64,64,"Outlined Text",1,0]
-
-
- Procedure _PRINTOUTLINE[_XPOS,_YPOS,_TEXT$,_COLOR,_OUTLINE]
-
- ' Inputs: _XPOS,_YPOS Coordinates of text
- ' _TEXT$ Text to print
- ' _COLOR Color of text
- ' _OUTLINE Color of outline of text
- ' Output: Prints outlined text on the current screen
-
- Ink _OUTLINE,0 : Gr Writing 0
- Text _XPOS-1,_YPOS,_TEXT$ : Text _XPOS+1,_YPOS,_TEXT$
- Text _XPOS,_YPOS-1,_TEXT$ : Text _XPOS,_YPOS+1,_TEXT$
- Ink _COLOR : Text _XPOS,_YPOS,_TEXT$
- End Proc